#define _CRT_SECURE_NO_WARNINGS
#include "heap.h"
void HeapSort(int* a,int n)
{

}


void TopK(int* a,int n)
{

}

int main()
{
	int array[] = { 27,15,19,18,28,34,65,49,25,37 };
	int size = sizeof(array) / sizeof(int);
	Heap hp;
	HeapInit(&hp);

	for (int i = 0; i < size; ++i)
	{
		HeapPush(&hp,array[i]);

	}

	HeapPrint(&hp);

	HeapPop(&hp);
	HeapPrint(&hp);

	printf("%d \n", HeapTop(&hp));
	printf("%d ", HeapSize(&hp));


	return 0;

}